package com.spark.market.common.redis;

import java.lang.annotation.*;

/**
 * 用来异常回滚redis
 * @author zwd
 * @date 2021/6/30
 * @email zwd@hhh.com
 */
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisCacheOperate {
    String key() default "";
    String prefix() default "";
    String value() default "";
    RedisOperateEnum method() default RedisOperateEnum.ADD;
}
